import Vue from 'vue'
import App from './App.vue'

// 导入vantui组件库
import './vantui.js'

// 导入normalize规范化样式
import "./assets/css/normalize.css"

// import "../node_modules/nprogress/nprogress.css"

// 导入路由模块 
import router from './router/index.js'
import moment from 'moment'
import store from "./store/index.js"
Vue.config.productionTip = false

Vue.filter('dateFormat', (date, format = "YYYY-MM-DD HH:mm:ss") => {
  return moment(date).format(format)
})

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')